//
//  HMAdressTableViewCell.m
//  G05爱鲜蜂
//
//  Created by 小灰灰 on 16/10/16.
//  Copyright © 2016年 何源. All rights reserved.
//

#import "HMAdressTableViewCell.h"
#import "HMGetGoodsAdressModel.h"
@interface HMAdressTableViewCell()
@property (weak, nonatomic) IBOutlet UILabel *userName;
@property (weak, nonatomic) IBOutlet UILabel *phoneNum;
@property (weak, nonatomic) IBOutlet UILabel *adress;

@end

@implementation HMAdressTableViewCell
//编辑按钮
- (IBAction)editBtnClick:(id)sender {
    NSLog(@"点击");
}

- (void)awakeFromNib {
    [super awakeFromNib];
    
    
}

-(void)setAdressModel:(HMGetGoodsAdressModel *)adressModel{
    _adressModel = adressModel;
    self.userName.text = adressModel.accept_name;
    _phoneNum.text = adressModel.telphone;
    _adress.text = adressModel.address;
    
}
@end
